<template>
  <div class="container">

    <h2>{{$t('tips')}}</h2>

    <br><br><br>
    <nuxt-link class="my-button" to="/moments">
      <div class="my-button">{{$t('moments')}}</div>
    </nuxt-link>

  </div>
</template>

<script>
  const Cookie = process.client ? require("js-cookie") : undefined

  export default {
    data() {
      return {}
    },
    components: {
    },
    head() {
      return {
        title: this.$t('home'),
        meta: [
          { charset: 'utf-8' },
          { 'http-equiv': 'pragma', content: 'no-cache' },
          { 'http-equiv': 'cache-control', content: 'no-cache' },
          { 'http-equiv': 'expires', content: '0' },
          { content: 'telephone=no', name: 'format-detection' },
          { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable=no' },
          { name: 'renderer', content: `webkit|ie-comp|ie-stand`},
          { hid: 'keywords', name: 'keywords', content: this.$t('home') },
          { hid: 'description', name: 'description', content: this.$t('home') },
        ],
        script: [
        ],
        link: [
        ]
      }
    },
    async asyncData({$axios}) {

    },
    mounted() {
      // this.$i18n.locale = Cookie.get("language");
      // this.$store.commit('SET_LANG', Cookie.get("language"))
      console.log('locale=' + this.$store.state.locale)

    },
    methods: {

    },
  }
</script>

<style scoped>
  .container{
    width: 1000px;
    margin: 0 auto;
    padding-top: 10px;
  }
</style>
